import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 全局 css
import './styles/index.less'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import Avue from '@smallwei/avue'
import '@smallwei/avue/lib/index.css'

import Echarts from 'echarts'

import axios from './utils/global_request'
window.axios = axios

Vue.use(Avue)

Vue.use(ElementUI)

Vue.prototype.$echarts = Echarts

Vue.config.productionTip = false

Vue.prototype.bus = new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
